#include "stm32f10x.h"                  // Device header
#include "PWM.H"
#include "TIM_IC.H"
#include "oled.h"
int main(void)
{
	 IC_Init();
	 OLED_Init();
	 Pwm_timeInit();
	 Get_Compare4(80);
	while(1)
	{
	   OLED_ShowNum(1,1,IC_GetCapture1(),5); 
	   OLED_ShowNum(2,1,IC_GetDuty(),5); 
	}
}
